package com.tqfframe.task.learning.other.inheritance;

import com.tqfframe.task.learning.other.inheritance.entity.First;
import com.tqfframe.task.learning.other.inheritance.entity.Script;

/**
 * @Author: 唐祺峰
 * @Date: 2020/7/21 0021 9:56
 * @Version 1.0
 */
public class TestMain {
    public static void main(String[] args) {
        AfterHandler afterHandler=new AfterHandler.DefaultAfterHandler();
        First first=(First) afterHandler.doAfterHandler(new First());
        System.out.println(first.getName());
        System.out.println(first.getSex());
    }
}
